package com.util;

import com.GZX.Dormitory;
import com.GZX.Schedule;
import com.GZX.Status;
import com.GZX.idCard;
import com.WKH.SchoolClass;
import com.publicClass.Role;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;


import com.publicClass.User;


public class Vessel {
    public static Scanner scanner = new Scanner(System.in);

//    //管理员账号设置起始位置
    public static long id = 10000000;

//    //宿舍编号设定
//    public static int dId = 1000;

    public static List<User> users = new ArrayList<User>();


    static {
        users.add(new User(100000,"Admin","1234","1234",Role.Manager));
        users.add(new User(100001,"王五","123","男",45,"123456","计算机科学",Role.Teacher));
        users.add(new User(99999,"张三","123","男",18,"123456","计算机科学与技术",Role.Student,"KH61",101,"2019"));
        users.add(new User(99998,"李四","123","男",18,"123456","计算机科学与技术",Role.Student,"KH61",101,"2019"));

    }
    public static List<User> tmUser = new ArrayList<>();
    //教师集合
//    public static List<Teacher> teachers = new ArrayList<>();
    //宿舍集合
    public static List<Dormitory> dormitories = new ArrayList<>();
    static {
        Dormitory dormitories1 = new Dormitory(10001,101,"至臻圆", Status.正常状态,"无");
        Dormitory dormitories2 = new Dormitory(10002,102,"至学圆", Status.正常状态,"无");
        Dormitory dormitories3 = new Dormitory(10003,103,"至知圆", Status.维修状态   ,"无");
        Dormitory dormitories4 = new Dormitory(10004,104,"至德圆", Status.正常状态,"无");
        Dormitory dormitories5 = new Dormitory(10005,105,"至美圆", Status.正常状态,"无");
        dormitories.add(dormitories1);
        dormitories.add(dormitories2);
        dormitories.add(dormitories3);
        dormitories.add(dormitories4);
        dormitories.add(dormitories5);
    }
    //班级集合
//    public static List<SchoolClass> schoolClasses = new ArrayList<>();


    //校园卡集合
    public static List<idCard> idCards = new ArrayList<>();

    //课程表集合
    public static List<Schedule> schedules = new ArrayList<>();

    public static int cId = 100;

    public static double balance = 0;

    public static List<SchoolClass> schoolClasses = new ArrayList<com.WKH.SchoolClass>();


}
